Globals Reference

Global Variables

flyEngine *flyengine

Interface with engine core.

directX *directx

Interface with direct input, direct sound and direct play.

textcache *tc

Interface with texture cache (load, selection and update of textures)

render *rend

Interface with the current selected render.

GUID FLYGUID

The Fly3D application GUID

int screen_sx
int screen_sy

Render screen size in pixels

HWND hFlyWndMain

Frontend window handle

HINSTANCE hFlyInstance

Frontend instance handle

int textfilter

Flag turning texture filter on/off

int mipmap

Flag turning mipmap on/off

int ntextureunits

Number of available hardware texture units for multitexture.

int nhwlights

Number of hardware lights available.

int numvideomodes

Number of available fullscreen video modes in videomodes array.

int selvideomode

Current selected fullscreen video mode from videomodes array.

DEVMODE *videomodes

The fullscreen video modes array.

int fullscreen

Fullscreen flag (FALSE for window mode).

int bitdepth

Current bit render depth (16, 24 or 32).

RECT winrect

The window rectangle while in window mode.